import http from './http'

const getShowingMovieList = () => {
	return http.myRequest({
		url: '/movie/showing/list',
		method: 'post',
	})
}
const getComingMovieList = () => {
	return http.myRequest({
		url: '/movie/coming/list',
		method: 'post'
	})
}

const getMovieById =(params:any)=>{
	return http.myRequest({
		url:'/movie/id',
		method:'post',
		data:params
	})
}
export default {
	getShowingMovieList,
	getComingMovieList,
	getMovieById
}